{% extends "base.html" %} {% block title %}Payment Approvals - Quick Care Connect{% endblock %} {% block content %}
Admin Panel

{{ get_current_user().name }}

Management
{% include 'admin/_management_sidebar.html' %}

Payment Approvals

Pending Payments ({{ pending_payments|length }})
{% if pending_payments %}
{% for appointment in pending_payments %} {% endfor %}
Appointment ID Patient Doctor Appointment Date & Time Type Amount Payment Submitted Payment Screenshot Actions
#{{ appointment.id }}
View
{{ appointment.patient.user.name }}
{{ appointment.patient.user.email }}
{{ appointment.doctor.user.name }}
{{ appointment.doctor.specialization }}
{{ appointment.appointment_date.strftime('%B %d, %Y') }}
{{ appointment.appointment_time.strftime('%I:%M %p') }}
{{ appointment.appointment_type.title() }} PKR {{ "%.0f"|format(appointment.charges) }} {% if appointment.payment_submitted_at %} {{ appointment.payment_submitted_at.strftime('%B %d, %Y at %I:%M %p') }} {% else %} - {% endif %} {% if appointment.payment_screenshot %} View {% else %} - {% endif %}
{% else %}

No pending payments

{% endif %}
Disputed Timeout Payments ({{ disputed_payments|length }})
{% if disputed_payments %}
{% for appointment in disputed_payments %} {% endfor %}
Appointment ID Patient Doctor Slot Date & Time Amount Submitted At Proof Actions
#{{ appointment.id }}
View
{{ appointment.patient.user.name }}
{{ appointment.patient.user.email }}
{{ appointment.doctor.user.name }}
{{ appointment.doctor.specialization }}
{{ appointment.appointment_date.strftime('%B %d, %Y') }}
{{ appointment.appointment_time.strftime('%I:%M %p') }}
PKR {{ "%.0f"|format(appointment.charges) }} {% if appointment.payment_submitted_at %} {{ appointment.payment_submitted_at.strftime('%B %d, %Y at %I:%M %p') }} {% else %} - {% endif %} {% if appointment.payment_screenshot %} View {% else %} - {% endif %}
{% else %}

No disputed timeout payments

{% endif %}
{% endblock %}